/**  
 * All rights Reserved, Designed By Soywer   
 * @Title:  UserInfoBo.java   
 * @Package vinux.web.common.es.bo   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: Soywer     
 * @date:   2016年11月4日 下午4:10:51   
 * @version V1.0     
 */  
package vinux.web.common.es.bo;

import vinux.service.entity.userbaseinfo.UserBaseInfo;

/**   
 * @ClassName:  UserInfoBo   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: Soywer  
 * @date:   2016年11月4日 下午4:10:51   
 *      
 */
public class UserInfoBo {
	
	private Long id;
	private Long userid;
	private String name;
	private String userloginname;
	private String age;
	private String headphoto;
	private String address;
	private String gender;
	private String phonenumber;
	private String idcard;
	private String proportion;
	private String pensionindex;
	private String buycount;
	private String communityid;
	private String communityamountperson;
	private String buyamount;
	private String foundationcommunity;
	private Long createtime;
	private Long lastupdatetime;
	private String usertype;
	private String status;
	private Long pensionedtime;
	
	
	public UserInfoBo(){
		
	}
	
	public UserInfoBo(UserBaseInfo user){
		this.id = user.getId();
		this.userid = user.getUserId();
		this.name = user.getName();
		this.userloginname = user.getUserLoginName();
		this.age = String.valueOf(user.getAge());
		this.headphoto = user.getHeadPhoto();
		this.address = user.getAddress();
		this.gender = user.getGender();
		this.phonenumber = user.getPhoneNumber();
		this.idcard = user.getIdCard();
		this.proportion = String.valueOf(user.getProportion());
		this.pensionindex = String.valueOf(user.getPensionIndex());
		this.buycount = String.valueOf(user.getBuycount());
		this.communityid = user.getCommunityId();
		this.communityamountperson = String.valueOf(user.getCommunityAmountPerson());
		this.buyamount = String.valueOf(user.getBuyamount());
		this.foundationcommunity = user.getFoundationCommunity();
		this.createtime = user.getCreateTime().getTime();
		this.lastupdatetime = user.getLastUpdateTime().getTime();
		this.status = user.getStatus();
		this.usertype = user.getUserType();
		if(user.getPensionedTime()!=null){
			this.pensionedtime = user.getPensionedTime().getTime();
		}
	}
	
	
	/**  
	 * @Title:  getId <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public Long getId() {
		return id;
	}
	/**  
	 * @Title:  setId <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**  
	 * @Title:  getUserid <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public Long getUserid() {
		return userid;
	}
	/**  
	 * @Title:  setUserid <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	/**  
	 * @Title:  getName <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getName() {
		return name;
	}
	/**  
	 * @Title:  setName <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**  
	 * @Title:  getUserloginname <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getUserloginname() {
		return userloginname;
	}
	/**  
	 * @Title:  setUserloginname <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setUserloginname(String userloginname) {
		this.userloginname = userloginname;
	}
	/**  
	 * @Title:  getAge <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getAge() {
		return age;
	}
	/**  
	 * @Title:  setAge <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setAge(String age) {
		this.age = age;
	}
	/**  
	 * @Title:  getHeadphoto <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getHeadphoto() {
		return headphoto;
	}
	/**  
	 * @Title:  setHeadphoto <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setHeadphoto(String headphoto) {
		this.headphoto = headphoto;
	}
	/**  
	 * @Title:  getAddress <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getAddress() {
		return address;
	}
	/**  
	 * @Title:  setAddress <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**  
	 * @Title:  getGender <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getGender() {
		return gender;
	}
	/**  
	 * @Title:  setGender <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	/**  
	 * @Title:  getPhonenumber <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getPhonenumber() {
		return phonenumber;
	}
	/**  
	 * @Title:  setPhonenumber <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}
	/**  
	 * @Title:  getIdcard <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getIdcard() {
		return idcard;
	}
	/**  
	 * @Title:  setIdcard <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	/**  
	 * @Title:  getProportion <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getProportion() {
		return proportion;
	}
	/**  
	 * @Title:  setProportion <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setProportion(String proportion) {
		this.proportion = proportion;
	}
	/**  
	 * @Title:  getPensionindex <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getPensionindex() {
		return pensionindex;
	}
	/**  
	 * @Title:  setPensionindex <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setPensionindex(String pensionindex) {
		this.pensionindex = pensionindex;
	}
	/**  
	 * @Title:  getBuycount <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getBuycount() {
		return buycount;
	}
	/**  
	 * @Title:  setBuycount <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setBuycount(String buycount) {
		this.buycount = buycount;
	}
	/**  
	 * @Title:  getCommunityid <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getCommunityid() {
		return communityid;
	}
	/**  
	 * @Title:  setCommunityid <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setCommunityid(String communityid) {
		this.communityid = communityid;
	}
	/**  
	 * @Title:  getCommunityamountperson <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getCommunityamountperson() {
		return communityamountperson;
	}
	/**  
	 * @Title:  setCommunityamountperson <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setCommunityamountperson(String communityamountperson) {
		this.communityamountperson = communityamountperson;
	}
	/**  
	 * @Title:  getBuyamount <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getBuyamount() {
		return buyamount;
	}
	/**  
	 * @Title:  setBuyamount <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setBuyamount(String buyamount) {
		this.buyamount = buyamount;
	}
	/**  
	 * @Title:  getFoundationcommunity <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getFoundationcommunity() {
		return foundationcommunity;
	}
	/**  
	 * @Title:  setFoundationcommunity <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setFoundationcommunity(String foundationcommunity) {
		this.foundationcommunity = foundationcommunity;
	}
	/**  
	 * @Title:  getCreatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public Long getCreatetime() {
		return createtime;
	}
	/**  
	 * @Title:  setCreatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public void setCreatetime(Long createtime) {
		this.createtime = createtime;
	}
	/**  
	 * @Title:  getLastupdatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public Long getLastupdatetime() {
		return lastupdatetime;
	}
	/**  
	 * @Title:  setLastupdatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public void setLastupdatetime(Long lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}
	/**  
	 * @Title:  getUsertype <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getUsertype() {
		return usertype;
	}
	/**  
	 * @Title:  setUsertype <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}
	/**  
	 * @Title:  getStatus <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public String getStatus() {
		return status;
	}
	/**  
	 * @Title:  setStatus <BR>  
	 * @Description: please write your description <BR>  
	 * @return: String <BR>  
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**  
	 * @Title:  getPensionedtime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public Long getPensionedtime() {
		return pensionedtime;
	}
	/**  
	 * @Title:  setPensionedtime <BR>  
	 * @Description: please write your description <BR>  
	 * @return: Long <BR>  
	 */
	public void setPensionedtime(Long pensionedtime) {
		this.pensionedtime = pensionedtime;
	}
	
	
	
	

}
